package app.base.modules;

import java.util.Map;

import org.apache.velocity.VelocityContext;
	
import app.base.commons.*;

public class ProductSearch extends Module{
	
	public ProductSearch() {
		
	}
	
	public String getWebPageBlockContent(Map<String, Object> params) throws Throwable {
		//
		VelocityContext context = new VelocityContext();
		
		context.put("APP_MODULES_PATH", Constants.APP_MODULES_PATH);
		
		return Tools.velocityTranslate(
				Constants.VELOCITY_PROPERTIES_FILENAME, 
				context, 
				Constants.APP_MODULES_PATH + "/ProductSearch/ProductSearch.vm"
				);
	}
	
}
